import request from '@/utils/request'

// 查询维修处理列表
export function listRepairYYYWXSH(query) {
  return request({
    url: '/repairWXSH/repairYYYWXSH/list',
    method: 'get',
    params: query
  })
}

// 查询维修处理详细
export function getRepairYYYWXSH(id) {
  return request({
    url: '/repairWXSH/repairYYYWXSH/' + id,
    method: 'get'
  })
}

// 新增维修处理
export function addRepairYYYWXSH(data) {
  return request({
    url: '/repairWXSH/repairYYYWXSH',
    method: 'post',
    data: data
  })
}

// 修改维修处理
export function updateRepairYYYWXSH(data) {
  return request({
    url: '/repairWXSH/repairYYYWXSH',
    method: 'put',
    data: data
  })
}

// 删除维修处理
export function delRepairYYYWXSH(id) {
  return request({
    url: '/repairWXSH/repairYYYWXSH/' + id,
    method: 'delete'
  })
}
